//
//  YYAnFeiService.m
//  优悦一族
//
//  Created by liang on 2017/4/21.
//  Copyright © 2017年 umed. All rights reserved.
//

#import "YYAnFeiService.h"
#import <CLNetWorkApiManager/CTNetworkingConfigurationManager.h>

@implementation YYAnFeiService


-(BOOL)isOnline {
    
    return [CTNetworkingConfigurationManager sharedInstance].serviceIsOnline;
}

//apiBaseUrl

-(NSString *)offlineApiBaseUrl {
    
    return @"http://119.23.141.35:8080/Health/youyuehrvday";
}

-(NSString *)onlineApiBaseUrl {
    
    return @"http://119.23.141.35:8080/Health/youyuehrvday";
}

//version

-(NSString *)onlineApiVersion {
    
    return @"";
}

-(NSString *)offlineApiVersion {
    
    return @"";
}

//privateKey
-(NSString *)onlinePrivateKey {
    
    return @"";
}

-(NSString *)offlinePrivateKey {
    
    return @"";
}

//publicKey

-(NSString *)onlinePublicKey {
    
    return @"";
}

-(NSString *)offlinePublicKey {
    
    return @"";
}

- (BOOL)shouldCallBackByFailedOnCallingAPI:(CTURLResponse *)response {
    
    return YES;
}

@end
